
export const total = async ()=>{
	 const { code, data } = await uni.$http.get("cart/count");
	 if(code){
		 return data;
	 }
	 
	 return 0;
}

export default {
	total
}